package com.deyuanyun.pic.settings.controller.pipe.vo;

import java.math.BigDecimal;

/**
 * 管道位置服务返回数据
 * 
 * @author ChenKui
 *
 */
public class PipeLocationDTO {
    
    private String pipeLineId;//管道编号
    private String id;//阀室或者桩编号
    private String name;//阀室或者桩的名称
    private String type;//阀室或者桩（VALVEROOM、SIGN）
    
    private BigDecimal mileage;//浮点类型的绝对距离 MILEAGE
    private Long mileage2;//整型的绝对里程

    private BigDecimal valveRoomBallMileage;//场站阀室对应收发球筒的绝对距离
    private Long valveRoomBallMileage2;//场站阀室对应收发球筒的绝对距离
    
    public String getPipeLineId() {
        return pipeLineId;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }

    public void setPipeLineId(String pipeLineId) {
        this.pipeLineId = pipeLineId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getMileage() {
        return mileage;
    }

    public void setMileage(BigDecimal mileage) {
        this.mileage = mileage;
    }

    public Long getMileage2() {
        return mileage2;
    }

    public void setMileage2(Long mileage2) {
        if(mileage2 != null){
            this.mileage2 = mileage2.longValue();
        }
        
    }

    public BigDecimal getValveRoomBallMileage() {
        return valveRoomBallMileage;
    }

    public Long getValveRoomBallMileage2() {
        return valveRoomBallMileage2;
    }

    public void setValveRoomBallMileage(BigDecimal valveRoomBallMileage) {
        this.valveRoomBallMileage = valveRoomBallMileage;
    }

    public void setValveRoomBallMileage2(Long valveRoomBallMileage2) {
        if(valveRoomBallMileage2 != null){
            this.valveRoomBallMileage2 = valveRoomBallMileage2.longValue();    
        }
        
    }

    
    
}
